package com.bjsxt.config.shiro;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author:liao
 * @Description:TODO 此类用于存放密码匹配规则和拦截放行的路径
 * @date:2020/11/19
 */
@ConfigurationProperties(prefix = "shiro")
@Data
public class ShiroProperties {
    //密码加密方式
    private String hashAlgorithmName="md5";
    //密码散列次数
    private Integer hashIterations=2;
    //不拦截的路径
    private String[] anonUrls;
    //拦截的路径
    private String[] authcUrls;
}
